package com.kingsystem.kingteachermarks_backend.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author leiyue_yao
 * @since 2025-06-18
 */
@TableName("calc_duration")
@ApiModel(value = "CalcDuration对象", description = "")
public class CalcDuration implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("TableKey")
    private String tableKey;

    private LocalDateTime timeStart;

    private LocalDateTime timeEnd;

    private Integer calcYear;

    public String getTableKey() {
        return tableKey;
    }

    public void setTableKey(String tableKey) {
        this.tableKey = tableKey;
    }

    public LocalDateTime getTimeStart() {
        return timeStart;
    }

    public void setTimeStart(LocalDateTime timeStart) {
        this.timeStart = timeStart;
    }

    public LocalDateTime getTimeEnd() {
        return timeEnd;
    }

    public void setTimeEnd(LocalDateTime timeEnd) {
        this.timeEnd = timeEnd;
    }

    public Integer getCalcYear() {
        return calcYear;
    }

    public void setCalcYear(Integer calcYear) {
        this.calcYear = calcYear;
    }

    @Override
    public String toString() {
        return "CalcDuration{" +
            "tableKey = " + tableKey +
            ", timeStart = " + timeStart +
            ", timeEnd = " + timeEnd +
            ", calcYear = " + calcYear +
            "}";
    }
}
